package zconstant

const (
	CENTER_SERVER_START = "channel_center_server_start"
	GAME_SERVER_START = "channel_game_server_start"
	LOGIN_SERVER_START = "channel_login_server_start"

	CENTER_SERVER_STOP = "channel_center_server_stop"
	GAME_SERVER_STOP = "channel_game_server_stop"
	LOGIN_SERVER_STOP = "channel_login_server_stop"
)

const (
	KEY_SERVER = "server_info"
)

type RedisClient struct {
	Addr string `mapstructure:"addr";json:"addr"`
	Password string `mapstructure:"password";json:"password"`
	SelectDb int `mapstructure:"select_db";json:"selectDb"`
	MinIdleConns int `mapstructure:"min_idle_conns";json:"minIdleConns"`
	MaxIdleConns int `mapstructure:"max_idle_conns";json:"maxIdleConns"`
	PoolSize int `mapstructure:"pool_size";json:"poolSize"`
}